var mongoose=require('mongoose');
mongoose.connect('mongodb://39.107.234.166:27017/bookShop').then(result => {
    console.log('mongodb is conneted')
}).catch(err => {
    console.log(err)
});

module.exports=mongoose;